RCOR_ Tablet Orientation

RCOR_ values are used in the wRcOrient member of the global RC232HBHC structure. The RC structure is passed to a version 1.0 recognizer in the lpRC argument of InitRC1AOBZ. and informs the recognizer of the tablet orientation. The recognizer can optionally use the orientation to direct the transformation of tablet coordinates to ideal coordi-nates used for recognition.

 

RCOR_ constants are provided only for compatibility with version 1.0 of the Pen API and will not be supported in future versions.

 

The following table lists the RCOR_ values:

Constant

X-coordinate

Y-coordinate

RCOR_NORMAL

X = X'

Y = Y'

RCOR_LEFT

X = yMax - Y'

Y = X'

RCOR_RIGHT

X = Y'

Y = xMax - X'

RCOR_UPSIDEDOWN

X = xMax - X'

Y = yMax - Y'

 

As with the preceding values, direction is provided as a clue to the recognizer. A recognizer may attempt to identify the direction of writing by itself.

See Also

RC